package com.winderinfo.yikaotianxia.ui.address;

import java.util.List;

public class AddresListBean {


    /**
     * total : 3
     * rows : [{"id":4,"name":"ddddddd","phone":"dddd","addr":"ddddd","isdefault":"1","userId":1},{"id":5,"name":"eeeee","phone":"eeeee","addr":"eeeeee","isdefault":"0","userId":1},{"id":6,"name":"cccc","phone":"cccccccc","addr":"cccccccccc","isdefault":"1","userId":1}]
     * code : 0
     */

    private int total;
    private int code;
    private List<RowsBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * id : 4
         * name : ddddddd
         * phone : dddd
         * addr : ddddd
         * isdefault : 1
         * userId : 1
         */

        private int id;
        private String name;
        private String phone;
        private String addr;
        private String isdefault;
        private int userId;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAddr() {
            return addr;
        }

        public void setAddr(String addr) {
            this.addr = addr;
        }

        public String getIsdefault() {
            return isdefault;
        }

        public void setIsdefault(String isdefault) {
            this.isdefault = isdefault;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
